<template>
  <div>
    <div v-for="item,index in docDataWord" :key="index">
      <weekPlanPrint :previewData="item[Object.keys(item)[0]]" :docClassId="Object.keys(item)[0]" v-if="Object.keys(item)[0] == 33 || Object.keys(item)[0] == 34" />
      <otherPlanPrint :previewData="item[Object.keys(item)[0]]" :docClassId="Object.keys(item)[0]" v-else />
    </div>
  </div>
</template>

<script>
  import otherPlanPrint from "@/components/print/otherPlanPrint.vue"
  import weekPlanPrint from "@/components/print/weekPlanPrint.vue"
  export default {
    components: {
      otherPlanPrint,
      weekPlanPrint,
    },
    props: ['docDataWord']
  }
</script>

<style scoped>

</style>
